package com.dc.entity;

/**
 * 管理员实体类和表admin对应
 * @author jesslos
 *
 */
public class Admin {
	//属性
	private int adminid;
	private String adminname;
	private String adminpsw;
	
	/**
	   *  无参
	 */
	public Admin() {
		super();
	}

	/**
	   *   有参
	 * @param adminid
	 * @param adminname
	 * @param adminpsw
	 */
	public Admin(int adminid, String adminname, String adminpsw) {
		super();
		this.adminid = adminid;
		this.adminname = adminname;
		this.adminpsw = adminpsw;
	}

	
	@Override
	public String toString() {
		return "Admin [adminid=" + adminid + ", adminname=" + adminname + ", adminpsw=" + adminpsw + "]";
	}

	/**
	 * @return the adminid
	 */
	public int getAdminid() {
		return adminid;
	}

	/**
	 * @param adminid the adminid to set
	 */
	public void setAdminid(int adminid) {
		this.adminid = adminid;
	}

	/**
	 * @return the adminname
	 */
	public String getAdminname() {
		return adminname;
	}

	/**
	 * @param adminname the adminname to set
	 */
	public void setAdminname(String adminname) {
		this.adminname = adminname;
	}

	/**
	 * @return the adminpsw
	 */
	public String getAdminpsw() {
		return adminpsw;
	}

	/**
	 * @param adminpsw the adminpsw to set
	 */
	public void setAdminpsw(String adminpsw) {
		this.adminpsw = adminpsw;
	}
	
	
	
}
